<section class="content-header">
    <ol class="breadcrumb">
        <li><a href="/dashboard"><i class="fa fa-dashboard"></i> 管理中心</a></li>
        <li class="active">配置微信</li>
    </ol>
</section>
<section class="content">
    <div class="row">
        <div class="col-md-12">
            <form action="/dashboard/wx" class="form-horizontal" method="post">

                <input type="hidden" name="id" value="{{wx.id}}">

                <div class="box box-primary">
                    <div class="box-header with-border">
                        <h3 class="box-title">配置微信服务端开发相关信息</h3>
                    </div>
                    <div class="box-body">
                        <div class="form-group">
                            <label for="address" class="col-sm-2 control-label">Token</label>

                            <div class="col-sm-7">
                                <input class="form-control" id="Token" value="{{wx.token}}" name="token"
                                       placeholder="Token" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="AppId" class="col-sm-2 control-label">AppId</label>

                            <div class="col-sm-7">
                                <input class="form-control" id="AppId" value="{{wx.appid}}" name="appid"
                                       placeholder="AppId" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="AppSecret" class="col-sm-2 control-label">AppSecret</label>

                            <div class="col-sm-7">
                                <input class="form-control" id="EncodingAESKey" value="{{wx.appSecret}}"
                                       name="appSecret" placeholder="AppSecret" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="EncodingAESKey" class="col-sm-2 control-label">EncodingAESKey</label>

                            <div class="col-sm-7">
                                <input class="form-control" id="EncodingAESKey" value="{{wx.encodingAESKey}}"
                                       name="encodingAESKey" placeholder="EncodingAESKey" type="text">
                            </div>
                        </div>


                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-7">
                                <button type="submit" class="btn btn-primary">保存信息</button>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</section>
